import { $t } from "@/plugins/i18n";

export default {
  path: "/wafer-start-module",
  redirect: "/eqp/eqp-query",
  meta: {
    icon: "informationLine",
    title: $t("wafer-start-module"),
    rank: 5
  },
  children: [
    {
      path: "/wafer-start-module/ws-ship-management",
      name: "WS&ShipManagement",
      component: () => import("@/views/error/403.vue"),
      meta: {
        keepAlive: true,
        title: $t("ws-ship-management")
      },
      children: [
        {
          path: "/wafer-start-module/ws-ship-management/lot-pc-plan",
          name: "LotPCPlan",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("lot-pc-plan")
          }
        },
        {
          path: "/wafer-start-module/ws-ship-management/wafer-start",
          name: "WaferStart",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("wafer-start")
          }
        },
        {
          path: "/wafer-start-module/ws-ship-management/cancel-lot-plan",
          name: "CancelLotPlan",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("cancel-lot-plan")
          }
        },
        {
          path: "/wafer-start-module/ws-ship-management/plan-lot-change",
          name: "PlanLotChange",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("plan-lot-change")
          }
        },
        {
          path: "/wafer-start-module/ws-ship-management/lot-plan-portal",
          name: "LotPlanPortal",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("lot-plan-portal")
          }
        },
        {
          path: "/wafer-start-module/ws-ship-management/completed-lot-storage-manage",
          name: "CompletedLotStorageManage",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("completed-lot-storage-manage")
          },
          children: [
            {
              path: "/wafer-start-module/ws-ship-management/completed-lot-storage-manage/lot-storage",
              name: "LotStorage",
              component: () => import("@/views/error/403.vue"),
              meta: {
                keepAlive: true,
                title: $t("lot-storage")
              }
            },
            {
              path: "/wafer-start-module/ws-ship-management/completed-lot-storage-manage/lot-unship",
              name: "LotUnship",
              component: () => import("@/views/error/403.vue"),
              meta: {
                keepAlive: true,
                title: $t("lot-unship")
              }
            },
            {
              path: "/wafer-start-module/ws-ship-management/completed-lot-storage-manage/completed-lot-history",
              name: "CompletedLotHistory",
              component: () => import("@/views/error/403.vue"),
              meta: {
                keepAlive: true,
                title: $t("completed-lot-history")
              }
            }
          ]
        },
        {
          path: "/wafer-start-module/ws-ship-management/cdw-wafer-start",
          name: "CDWWaferStart",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("cdw-wafer-start")
          }
        },
        {
          path: "/wafer-start-module/ws-ship-management/cdw-cancel-lot-plan",
          name: "CDWCancelLotPlan",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("cdw-cancel-lot-plan")
          }
        },
        {
          path: "/wafer-start-module/ws-ship-management/cdw-plan-lot-change",
          name: "CDWPlanLotChange",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("cdw-plan-lot-change")
          }
        },
        {
          path: "/wafer-start-module/ws-ship-management/cdw-lot-plan-portal",
          name: "CDWLotPlanPortal",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("cdw-lot-plan-portal")
          }
        },
      ]
    },
    {
      path: "/wafer-start-module/lot-mfg-plan",
      name: "LotMFGPlan",
      component: () => import("@/views/error/403.vue"),
      meta: {
        keepAlive: true,
        title: $t("lot-mfg-plan")
      }
    },
  ]

};
